******************************************************
* Appendix B: 
* Purging Subordinates to Signal Loyalty
********************************************************


run /Users/zerenli1992/Dropbox/anti_corruption/replication_file/pre_reg_clean

drop if year <2013


reghdfe purge_city purge_cen_cum   $i_control  ,  absorb(year cityID) cluster(cityID)
est store m1

reghdfe purge_city purge_cen_cum  $i_control  $p_control    ,  absorb(year cityID) cluster(cityID)
est store m2

reghdfe purge_city purge_cen_cum  $i_control  $p_control $prov_control ,  absorb(year cityID) cluster(cityID)
est store m3


reghdfe purge_city $interaction    $i_control   ,  absorb(year cityID) cluster(cityID)
est store m4

reghdfe purge_city $interaction   $i_control  $p_control    ,  absorb(year cityID) cluster(cityID)
est store m5

reghdfe purge_city $interaction  $i_control  $p_control $prov_control ,  absorb(year cityID) cluster(cityID)
est store m6



outreg2 [m1 m2 m3 m4 m5 m6] using "city_purge.tex", replace keep($interaction) lab  nocons  dec(3)   
